package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年5月26日 下午2:27:19 
 * 个人信息表主键类(流程编号,emplid)
 */
public class PsCModPhotoTactPerPrimary implements Serializable {

	private static final long serialVersionUID = 6644734818514612434L;

	private String emplid;
	
	private String cTransactionNbr;


	public String getEmplid() {
		return emplid;
	}

	public void setEmplid(String emplid) {
		this.emplid = emplid;
	}

	public String getcTransactionNbr() {
		return cTransactionNbr;
	}

	public void setcTransactionNbr(String cTransactionNbr) {
		this.cTransactionNbr = cTransactionNbr;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((emplid == null) ? 0 : emplid.hashCode());
		result = prime * result
				+ ((cTransactionNbr == null) ? 0 : cTransactionNbr.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsCModPhotoTactPerPrimary other = (PsCModPhotoTactPerPrimary) obj;
		if (emplid == null) {
			if (other.emplid != null)
				return false;
		} else if (!emplid.equals(other.emplid))
			return false;
		if (cTransactionNbr == null) {
			if (other.cTransactionNbr != null)
				return false;
		} else if (!cTransactionNbr.equals(other.cTransactionNbr))
			return false;
		return true;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "PsCModPersPrimary [emplid=" + emplid + ", cTransactionNbr="
				+ cTransactionNbr + "]";
	}
	
	
}
 